package com.rg.model;
//代表一个商品，包含商品ID、名称、封面图片、详情图片、价格、简介、库存和类型ID。
public class GoodsModel {
    private Integer goodsId;
    private String goodsName;
    private String coverImg;
    private String detailImg1;
    private String detailImg2;
    private double goodsPrice;
    private String goodsIntro;
    private Integer goodsStock;
    private Integer typeId;

    public GoodsModel() {
    }

    public GoodsModel(Integer goodsId, String goodsName, String coverImg, String detailImg1, String detailImg2, double goodsPrice, String goodsIntro, Integer goodsStock, Integer typeId) {
        this.goodsId = goodsId;
        this.goodsName = goodsName;
        this.coverImg = coverImg;
        this.detailImg1 = detailImg1;
        this.detailImg2 = detailImg2;
        this.goodsPrice = goodsPrice;
        this.goodsIntro = goodsIntro;
        this.goodsStock = goodsStock;
        this.typeId = typeId;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getCoverImg() {
        return coverImg;
    }

    public void setCoverImg(String coverImg) {
        this.coverImg = coverImg;
    }

    public String getDetailImg1() {
        return detailImg1;
    }

    public void setDetailImg1(String detailImg1) {
        this.detailImg1 = detailImg1;
    }

    public String getDetailImg2() {
        return detailImg2;
    }

    public void setDetailImg2(String detailImg2) {
        this.detailImg2 = detailImg2;
    }

    public double getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(double goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public String getGoodsIntro() {
        return goodsIntro;
    }

    public void setGoodsIntro(String goodsIntro) {
        this.goodsIntro = goodsIntro;
    }

    public Integer getGoodsStock() {
        return goodsStock;
    }

    public void setGoodsStock(Integer goodsStock) {
        this.goodsStock = goodsStock;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }
}
